#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define boom 10

void csboard(char board[ROWS][COLS],int rows,int cols,char ret);
void display(char board[ROWS][COLS],int row,int col);
void setmine(char board[ROWS][COLS]);
void findmine(char show[ROWS][COLS],char mine[ROWS][COLS],int row,int col);